package baidu.hudson.plugin.result.collector.MessageRouter;

import org.apache.camel.CamelContext;
import org.apache.camel.Component;
import org.apache.camel.ProducerTemplate;
import org.apache.camel.builder.RouteBuilder;

import java.util.List;
import java.util.Set;

/**
 * User: yuxinlei
 * Date: 4/13/11
 * Time: 11:58 PM
 */
public class LocalCamelContextBuilder{

    protected volatile CamelContext context;
    protected List<RouteBuilder> routes;
    protected List<Component> components;

    protected String queueName;
    protected String componentName;

    public LocalCamelContextBuilder(CamelContext context, List<RouteBuilder> routes, List<Component> components, String queueName, String componentName) {
        this.context = context;
        this.routes = routes;
        this.components = components;
        this.queueName = queueName;
        this.componentName = componentName;
    }


}
